package cn.itcast.pattern.streagy;

public class SaleMan {
    //持有抽象策略角色的引用
    private Streategy streategy;
    public SaleMan(Streategy streategy){
        this.streategy = streategy;
    }

    //向客户展示促销活动

    public void  salesManShow(){
        streategy.show();
    }
}
